package com.unipay.cmn.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Project: yitong_parent
 * @Author: C.yu
 * @Time: 2023-04-01 21:14:08
 * @Desc: TODO
 */
@Configuration
@MapperScan("com.unipay.cmn.mapper")
public class DictConfig {

    // TODO 配置分页插件
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }
}
